import json
from config import BASE_PATH
def read_json_file(filename):
    with open(filename,"r",encoding="utf8") as f:
        json_data = json.load(f)
    list_data = []
    for i in json_data:
        tup = tuple(i.values())
        list_data.append(tup)
    return list_data



if __name__ == '__main__':
    filename = BASE_PATH + "\data\login_data.json"
    ret = read_json_file(filename)
    print(ret)